package com.housekeeping.housekeeping.order.service;

import com.housekeeping.housekeeping.order.entity.Order;
import com.housekeeping.housekeeping.order.utils.PageUtils;

import java.sql.SQLException;
import java.util.List;

public interface OrderSearchServ {
    //支付状态查询的逻辑
    PageUtils<List<Order>> getStateList(int state, int page, int pageSize) throws SQLException;

    //手机号和支付状态的联合查询
    PageUtils<List<Order>> getPAndSList(String phone, int state,int page, int pageSize) throws SQLException;

    //日期范围的查询
    PageUtils<List<Order>> getDateList(String startTime, String endTime, int page, int pageSize) throws SQLException;
}
